<!DOCTYPE html>
<title>Hello from Flask</title>

{% if name %}
    <h1>Hello {{name}}</h1>
{% else %}
    <h1>Hello world</h1>
{% endif %}